package com.strange.mdl.module.mdl.controller.admin.sutras.vo.chapters;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 经书章节 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MdlSutraChaptersRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "25629")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "经书ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11143")
    @ExcelProperty("经书ID")
    private Long sutraId;

    @Schema(description = "卷ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19137")
    @ExcelProperty("卷ID")
    private Long volumeId;

    @Schema(description = "章节号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("章节号")
    private Integer chapterNumber;

    @Schema(description = "章节标题")
    @ExcelProperty("章节标题")
    private String chapterTitle;

    @Schema(description = "章节副标题")
    @ExcelProperty("章节副标题")
    private String chapterSubtitle;

    @Schema(description = "章节内容")
    @ExcelProperty("章节内容")
    private String content;

    @Schema(description = "字数", example = "16363")
    @ExcelProperty("字数")
    private Integer wordCount;

    @Schema(description = "排序")
    @ExcelProperty("排序")
    private Integer sortOrder;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}